/*******************************************************************************
 * Package: com.hngtrust.iir.risk.controller.dto
 * Type:    AddListMonitorReqVO
 * Date:    2021/8/2 14:26
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.risk.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 批量添加监控请求
 *
 * @author Keqiwei
 * @date 2021/8/2 14:26
 */
@ApiModel(description = "")
@Data
public class AddListMonitorReqVO {
    @ApiModelProperty(value = "公司信息")
    private List<Comp> compList;
    
    @NotNull(message = "方案为空")
    @ApiModelProperty(value = "方案id")
    private Long schemeId;
    
    @ApiModel(description = "公司信息")
    @Data
    public static class Comp{
        @ApiModelProperty(value = "公司名")
        private String compName;
    
        @ApiModelProperty(value = "公司id")
        private Long compId;
    }
}
